package com.zhang.backend.dto;

import com.zhang.backend.entity.Person;
import lombok.Data;
import java.util.List;

@Data
public class FamilyNodeDTO {

    // The central person for this node
    private Person person;

    // The parents of this person
    private Person father;
    private Person mother;

    // The 配偶 of this person
    private Person spouse;

    // The children of this person
    private List<Person> children;
}